package com.hs.ding.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ding
 * @since 2022-06-18
 */
@TableName("t_transport")
public class Transport implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 需求单号
     */
    private String vOrderId;

    /**
     * 运输单号，随机生成	
     */
    @TableId(value = "t_order_id")
    private String tOrderId;

    /**
     * 运输状态，默认为0
     */
    private Integer tStatus;

    /**
     * 承运商
     */
    private String carrierName;

    /**
     * 司机姓名
     */
    private String driverName;

    /**
     * 车牌
     */
    private String carPlate;

    /**
     * need 表信息
     * @return
     */
    @TableField(exist = false)
    private Need need;

    public Need getNeed() {
        return need;
    }

    public void setNeed(Need need) {
        this.need = need;
    }

    public String getvOrderId() {
        return vOrderId;
    }

    public void setvOrderId(String vOrderId) {
        this.vOrderId = vOrderId;
    }
    public String gettOrderId() {
        return tOrderId;
    }

    public void settOrderId(String tOrderId) {
        this.tOrderId = tOrderId;
    }
    public Integer gettStatus() {
        return tStatus;
    }

    public void settStatus(Integer tStatus) {
        this.tStatus = tStatus;
    }
    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }
    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }
    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    @Override
    public String toString() {
        return "Transport{" +
                "vOrderId='" + vOrderId + '\'' +
                ", tOrderId='" + tOrderId + '\'' +
                ", tStatus=" + tStatus +
                ", carrierName='" + carrierName + '\'' +
                ", driverName='" + driverName + '\'' +
                ", carPlate='" + carPlate + '\'' +
                ", need=" + need +
                '}';
    }
}
